package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.YonbipCorrespondingAuxiliary;

/**
 * 辅助项对应Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-15
 */
public interface YonbipCorrespondingAuxiliaryMapper 
{
    /**
     * 查询辅助项对应
     * 
     * @param id 辅助项对应主键
     * @return 辅助项对应
     */
    public YonbipCorrespondingAuxiliary selectYonbipCorrespondingAuxiliaryById(Long id);

    public YonbipCorrespondingAuxiliary selectYonbipCorrespondingAuxiliaryByAccountCodeOldCode(YonbipCorrespondingAuxiliary yonbipCorrespondingAuxiliary);

    /**
     * 查询辅助项对应列表
     * 
     * @param yonbipCorrespondingAuxiliary 辅助项对应
     * @return 辅助项对应集合
     */
    public List<YonbipCorrespondingAuxiliary> selectYonbipCorrespondingAuxiliaryList(YonbipCorrespondingAuxiliary yonbipCorrespondingAuxiliary);

    /**
     * 新增辅助项对应
     * 
     * @param yonbipCorrespondingAuxiliary 辅助项对应
     * @return 结果
     */
    public int insertYonbipCorrespondingAuxiliary(YonbipCorrespondingAuxiliary yonbipCorrespondingAuxiliary);

    /**
     * 修改辅助项对应
     * 
     * @param yonbipCorrespondingAuxiliary 辅助项对应
     * @return 结果
     */
    public int updateYonbipCorrespondingAuxiliary(YonbipCorrespondingAuxiliary yonbipCorrespondingAuxiliary);

    /**
     * 删除辅助项对应
     * 
     * @param id 辅助项对应主键
     * @return 结果
     */
    public int deleteYonbipCorrespondingAuxiliaryById(Long id);

    /**
     * 批量删除辅助项对应
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYonbipCorrespondingAuxiliaryByIds(String[] ids);
}
